package com.qf.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.sun.xml.internal.bind.annotation.OverrideAnnotationOf;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_goods")
public class Goods  implements Serializable{
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String gname;

    private String gdesc;

    private BigDecimal gprice;

    private Integer gstock;

    private String gpic; // 多个图片使用逗号隔开
}
